package main

import (
	alpaca "Alpaca"
	aconf "Alpaca/conf"
	"server/conf"
	"server/game"
	"server/gate"
	"server/login"
)

func main() {
	aconf.LogFlag = conf.LogFlag
	aconf.LogLevel = conf.Server.LogLevel
	aconf.LogPath = conf.Server.LogPath
	aconf.ConsolePort = conf.Server.ConsolePort

	alpaca.Run(
		game.Module,
		gate.Module,
		login.Module,
	)
}
